# -*- coding:utf-8 -*-
# created by jinss

f = open("嫩模联系方式", encoding='utf-8')
# print(f.read())
for line in f:
    line = line.split()
    # print(line)
    height = int(line[2])
    weight = int(line[3])
    if height >= 172 and weight <= 50:
        print(line)